<template name="star">
  {{#if eq stars 5}}
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  {{/if}}
  {{#if eq stars 4}}
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  {{/if}}
  {{#if eq stars 3}}
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  {{/if}}
  {{#if eq stars 2}}
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  {{/if}}
  {{#if eq stars 1}}
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star_fill</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
    <i class="f7-icons s7-size-{{s_size}} s7-color-star">star</i>
  {{/if}}
</template>
